
$(document).ready(function () {
    $("#div_submit_val").click(function () {
        var loginAccount = $("#inputAccount").val().trim();
        if (loginAccount == '') {
            $("#eMessage").html("帐号不能为空");
            return false;
        } else {
            var email = $("#inputEmail").val().trim();
            if (email == '') {
                $("#eMessage").html("邮箱不能为空");
                return false;
            } else {
                var path="${ctx}/updateAccount.action";
                $("#updateAccount").attr("action",path).submit();
            }
        }
    })
});